package com.iot.comprehensive.face.service;

import com.iot.comprehensive.face.model.Account;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.Optional;

/**
 * @Author 朱泽玉
 * @Create 2021/6/26 13:46
 * @Description
 * @Modified By:
 */
@Service
public interface AccountService {
    public Account findByMobile(String mobile) throws IOException;
    public Account findById(Long id) throws IOException;
    public void update(Account account);

    public void add(String mobile, String password) throws IOException;

    public Account del(String mobile) throws IOException;
}
